package com.haizhi.crm.biz.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by yangyijun on 2018/6/29.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ShareTargetTreeVo {
    private String id;
    private String name;
    private List<ShareTargetTreeVo> children = new ArrayList<>();

    public void addChildren(ShareTargetTreeVo shareTargetTreeVo) {
        children.add(shareTargetTreeVo);
    }
}
